package com.jinmdz.fmis.api.admin.model.accountuser;

import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.common.constant.EValidateCode;
import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 帐号用户信息
 *
 * @author LiCongLu
 * @date 2020-03-17 09:45
 */
@ApiModel(value = "帐号用户信息", description = "帐号用户信息")
public class AccountUserSaveData extends BaseBean {
    /**
     * 主键
     */
    @AnValidate(name = "主键", code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "主键", name = "id", position = 1)
    private Integer id;

    /**
     * 登录密码
     */
    @AnValidate(name = "登录密码")
    @ApiModelProperty(value = "登录密码", name = "loginPassword", position = 2)
    private String loginPassword;

    /**
     * 员工编号
     */
    @AnValidate(name = "员工编号", required = true)
    @ApiModelProperty(value = "员工编号", name = "jobNo", position = 3)
    private String jobNo;

    /**
     * 姓名
     */
    @AnValidate(name = "姓名", required = true)
    @ApiModelProperty(value = "姓名", name = "fullName", position = 4)
    private String fullName;

    /**
     * 性别编码
     */
    @AnValidate(name = "性别编码", code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "性别编码", name = "userGenderCode", position = 5)
    private Integer userGenderCode;

    /**
     * 联系电话
     */
    @AnValidate(name = "联系电话")
    @ApiModelProperty(value = "联系电话", name = "mobilePhone", position = 6)
    private String mobilePhone;

    /**
     * 其他电话
     */
    @AnValidate(name = "其他电话")
    @ApiModelProperty(value = "其他电话", name = "otherPhone", position = 7)
    private String otherPhone;

    /**
     * 联系地址
     */
    @AnValidate(name = "联系地址")
    @ApiModelProperty(value = "联系地址", name = "address", position = 8)
    private String address;

    /**
     * 所属公司外键
     */
    @AnValidate(name = "所属公司外键", code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "所属公司外键", name = "companyId", position = 9)
    private Integer companyId;

    /**
     * 所属部门外键
     */
    @AnValidate(name = "所属部门外键", code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "所属部门外键", name = "departmentId", position = 10)
    private Integer departmentId;

    /**
     * 禁用状态
     */
    @AnValidate(name = "禁用状态", required = true, code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "禁用状态", name = "disableState", position = 11)
    private Integer disableState;

    /**
     * IC卡卡号
     */
    @AnValidate(name = "IC卡卡号")
    @ApiModelProperty(value = "IC卡卡号", name = "icCardCode", position = 12)
    private String icCardCode;

    /**
     * 排序
     */
    @AnValidate(name = "排序", code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "排序", name = "sort", position = 13)
    private Integer sort;

    /**
     * 备注
     */
    @AnValidate(name = "备注")
    @ApiModelProperty(value = "备注", name = "remark", position = 14)
    private String remark;

    /**
     * 数据版本号
     */
    @AnValidate(name = "数据版本号")
    @ApiModelProperty(value = "数据版本号", name = "version", position = 15)
    private Long version;

    public Integer getId() {
        return id;
    }

    public AccountUserSaveData setId(Integer id) {
        this.id = id;
        return this;
    }

    public String getLoginPassword() {
        return loginPassword;
    }

    public AccountUserSaveData setLoginPassword(String loginPassword) {
        this.loginPassword = loginPassword;
        return this;
    }

    public String getJobNo() {
        return jobNo;
    }

    public AccountUserSaveData setJobNo(String jobNo) {
        this.jobNo = jobNo;
        return this;
    }

    public String getFullName() {
        return fullName;
    }

    public AccountUserSaveData setFullName(String fullName) {
        this.fullName = fullName;
        return this;
    }

    public Integer getUserGenderCode() {
        return userGenderCode;
    }

    public AccountUserSaveData setUserGenderCode(Integer userGenderCode) {
        this.userGenderCode = userGenderCode;
        return this;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public AccountUserSaveData setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
        return this;
    }

    public String getOtherPhone() {
        return otherPhone;
    }

    public AccountUserSaveData setOtherPhone(String otherPhone) {
        this.otherPhone = otherPhone;
        return this;
    }

    public String getAddress() {
        return address;
    }

    public AccountUserSaveData setAddress(String address) {
        this.address = address;
        return this;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public AccountUserSaveData setCompanyId(Integer companyId) {
        this.companyId = companyId;
        return this;
    }

    public Integer getDepartmentId() {
        return departmentId;
    }

    public AccountUserSaveData setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
        return this;
    }

    public Integer getDisableState() {
        return disableState;
    }

    public AccountUserSaveData setDisableState(Integer disableState) {
        this.disableState = disableState;
        return this;
    }

    public String getIcCardCode() {
        return icCardCode;
    }

    public AccountUserSaveData setIcCardCode(String icCardCode) {
        this.icCardCode = icCardCode;
        return this;
    }

    public Integer getSort() {
        return sort;
    }

    public AccountUserSaveData setSort(Integer sort) {
        this.sort = sort;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public AccountUserSaveData setRemark(String remark) {
        this.remark = remark;
        return this;
    }

    public Long getVersion() {
        return version;
    }

    public AccountUserSaveData setVersion(Long version) {
        this.version = version;
        return this;
    }
}
